import {requestResponse} from '../../../../config/axios.conf'

// 根据服务id,获取服务信息
export const getServiceInfoById = (id: number | string) => requestResponse('get', '/anon/findCommunityExpertService', {id})
// 添加专家一键约谈信息
export const addTalksInfo = (json: any) => requestResponse('post', '/anon/saveCommunityReservationExSer', json)

// 专家详情
export const expertInfo = (id: any) => requestResponse('get', '/anon/findCommunityExpert', {id})
// 获取专家服务
export const expertServiceInfo = (id: any) => requestResponse('post', '/anon/findServiceListByExpertId', {id})
// 根据用户id,获取文章列表--jintian
export const getNewsById = (json: any) => requestResponse('post', '/anon/findNewsListByCreateUserId', json)
